﻿#if($msg)
<script>
alert('$!msg');
</script>
#end
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑采集</title>
<link href="/include/manage/images/main/style.css" rel="stylesheet" type="text/css" />
<link href="/include/manage/dialog/asyncbox.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/include/manage/js/jquery.js"></script>
<script language="javascript">
jQuery.ajaxSetup ({
	cache: false
});

$(function(){
	$('#config').click(function(){
		if($('#url').val().length>0){
			$('#parameter').val("configList");
			$('#writeform').submit();
		}
	});
});
</script>
</head>
<body>
<form id="writeform" name="writeform" method="post" action="/manage_grab.ad">
<input type="hidden" id="parameter" name="parameter" value="$!action" />
<input type="hidden" name="id" value="$!thisGrab.id" />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" background="/include/manage/images/main/tab_05.gif">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30"><img src="/include/manage/images/main/tab_03.gif" width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="/include/manage/images/main/tb.gif" width="16" height="16" /></div></td>
                <td width="95%"><span class="STYLE3">当前位置</span>：[数据管理]-[编辑采集]</td>
              </tr>
            </table></td>
            <td width="54%"><table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><div align="center"><a href="/manage_grab.ad?parameter=add&pid=$!thisGrab.id"><img src="/include/manage/images/main/22.gif" width="14" height="14" /></a></div></td>
                    <td><div align="center"><a href="/manage_grab.ad?parameter=add&pid=$!thisGrab.id">新增</a></div></td>
                  </tr>
                </table></td>
                <td width="52"><table width="88%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><div align="center"><a href="/manage_grab.ad?parameter=delete&id=$!thisGrab.id"><img src="/include/manage/images/main/11.gif" width="14" height="14" /></a></div></td>
                    <td><div align="center"><a href="/manage_grab.ad?parameter=delete&id=$!thisGrab.id">删除</a></div></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="16"><img src="/include/manage/images/main/tab_07.gif" width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
  	<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="/include/manage/images/main/tab_12.gif">&nbsp;</td>
        <td>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6">
    <tr>
      <td width="80" height="25" bgcolor="#ffffff">&nbsp;采集编号：</td>
      <td width="300" bgcolor="#ffffff">&nbsp;
      	$!thisGrab.id
      </td>
    </tr>
    <tr>
      <td width="80" height="25" bgcolor="#ffffff">&nbsp;采集名称：</td>
      <td width="300" bgcolor="#ffffff">&nbsp;
      	<input name="title" type="text" value="$!thisGrab.title" />
      </td>
    </tr>
    <tr>
      <td width="80" height="25" bgcolor="#ffffff">&nbsp;采集地址(列表第1页)：</td>
      <td width="300" bgcolor="#ffffff">&nbsp;
      	<input id="url" name="url" type="text" value="$!thisGrab.url" />
      </td>
    </tr>
    <tr>
      <td width="80" height="25" bgcolor="#ffffff">&nbsp;采集地址(列表第2页)：</td>
      <td width="300" bgcolor="#ffffff">&nbsp;
      	<input id="url2" name="url2" type="text" value="$!thisGrab.url2" />
      </td>
    </tr>
    <tr>
      <td width="80" height="25" bgcolor="#ffffff">&nbsp;分页标志标签（以此开始）：</td>
      <td width="300" bgcolor="#ffffff">&nbsp;
      	<input id="pagedna_head" name="pagedna_head" type="text" value="$!thisGrab.pagedna_head" />
      </td>
    </tr>
    <tr>
      <td width="80" height="25" bgcolor="#ffffff">&nbsp;分页标志标签（以此结束）：</td>
      <td width="300" bgcolor="#ffffff">&nbsp;
      	<input id="pagedna_foot" name="pagedna_foot" type="text" value="$!thisGrab.pagedna_foot" />
      </td>
    </tr>
    <tr>
    	<td colspan="2" bgcolor="#ffffff">&nbsp;</td>
    </tr>
</table>
		</td>
        <td width="8" background="/include/manage/images/main/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
    </tr>
  <tr>
    <td height="35" background="/include/manage/images/main/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="/include/manage/images/main/tab_18.gif" width="12" height="35" /></td>
        <td valign="top"><div align="center"> 
          <input type="submit" name="Submit" value="保存" />
          &nbsp;
          <input type="reset" name="Reset" value="重写" />
          &nbsp;
          <input type="button" id="config" name="config" value="配置采集信息"/>
        </div></td>
        <td width="16"><img src="/include/manage/images/main/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table>
	</td>
  </tr>
</table>
  </form>
</body>
</html>